package com.yzion.demo_navigationbar.normaltest;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.blankj.utilcode.util.ClickUtils;
import com.weikaiyun.fragmentation.SupportFragment;
import com.yzion.baseapp.R;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;


/**
 * Created by Jue on 2018/6/2.
 */

public class BTestFragment extends SupportFragment {

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_b, null);
        return view;
    }

    public View setContentView(@NonNull LayoutInflater inflater, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_b, null);
        return view;
    }

//    public View createCustomTitleBar() {
//        View titleBarView = getLayoutInflater().inflate(R.layout.by_title_bar_view, null);
//        View btnBack = titleBarView.findViewById(R.id.btn_back);
//        btnBack.setOnClickListener(new ClickUtils.OnDebouncingClickListener() {
//            @Override
//            public void onDebouncingClick(View v) {
//                getActivity().onBackPressed();
//            }
//        });
//        return titleBarView;
//    }
    
    public void initView() {

    }

    protected void initData() {

    }
}
